package com.rmfyzxfw.caseprocess.model.converter;

import com.rmfyzxfw.caseprocess.model.cmd.DataFieldCmd;
import com.rmfyzxfw.caseprocess.model.po.DataField;
import com.rmfyzxfw.caseprocess.model.vo.DataFieldVO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @description:
 * @Author: GYW  742926306@qq.com
 * @Date: 2024/8/15 11:23
 */
@Mapper(componentModel = "spring")
public interface DataFieldConverter {
    DataField cmd2do(DataFieldCmd dataFieldCmd);
    List<DataFieldVO> dos2vos(List<DataField> dataFields);
}
